package com.example.user.controller.auth.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class LoginReqVO extends UserSourceType {

    @Schema(title = "用户登录方式：pwd/code")
    @NotBlank
    private String loginType;

    @Schema(title = "密码")
    private String password;

    @Schema(title = "验证码")
    private String code;

}
